Skip to content

fix #337 - line splicing in comment not handled properly #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

clock999
Copy link
Contributor

@clock999 clock999 commented May 23, 2025

To fix the issue:
#337

@clock999
Copy link
Contributor Author

clock999 commented May 23, 2025

Here are the corresponding links about this issue:

https://sourceforge.net/p/cppcheck/discussion/general/thread/37c6eba151/
https://github.com/danmar/simplecpp/issues/337

@danmar
Copy link
Owner

danmar commented Jun 22, 2025

The PR title is misleading. The fix is to handle line splicing differently. simplecpp doesn't contain any uninitvar checking and there is no uninitialized variable usage I hope.

#337 is much more proper.

@clock999 clock999 changed the title fix #12379: FN: uninitvar due to line splicing fix #337 - Multiline comment not handled properly Jun 22, 2025
@danmar danmar changed the title fix #337 - Multiline comment not handled properly fix #337 - line splicing in comment not handled properly Jun 28, 2025
@danmar danmar merged commit 29abbc6 into danmar:master Jul 15, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants